package com.demo.dbcompare.model.vo;

import java.util.List;

import com.demo.dbcompare.model.TableColumnInfo;

/**
 * 对应列结构差异列表的每一行
 * @author: jie.deng
 */
public class DbCompareDiffVo {
	//左连接名
	private String connNameLeft;

	//右连接名
	private String connNameRight;
	
	//左表名
	private String tableNameLeft;

	//列名:比较的是同名列的结构信息
	private String columnName;
	
	//右表名
	private String tableNameRight;
	
	//列表的第一个元素为左连接的字段结构信息，第二个元素为右连接的字段结构信息，如果字段缺失为空的TableColumnInfo对象
	private List<TableColumnInfo> compareColumnList;

	public String getConnNameLeft() {
		return connNameLeft;
	}

	public void setConnNameLeft(String connNameLeft) {
		this.connNameLeft = connNameLeft;
	}

	public String getConnNameRight() {
		return connNameRight;
	}

	public void setConnNameRight(String connNameRight) {
		this.connNameRight = connNameRight;
	}

	public String getTableNameLeft() {
		return tableNameLeft;
	}

	public void setTableNameLeft(String tableNameLeft) {
		this.tableNameLeft = tableNameLeft;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getTableNameRight() {
		return tableNameRight;
	}

	public void setTableNameRight(String tableNameRight) {
		this.tableNameRight = tableNameRight;
	}

	public List<TableColumnInfo> getCompareColumnList() {
		return compareColumnList;
	}

	public void setCompareColumnList(List<TableColumnInfo> compareColumnList) {
		this.compareColumnList = compareColumnList;
	}

}
